Skip to main content

revZipOpenArchive

Type

command

Summary

Opens a zip archive for processing in LiveCode.

Syntax

revZipOpenArchive <archivePath>, <mode>

Description

Use the revZipOpenArchive command to load a zip archive into memory and make it available for processing. This command needs to be issued before trying to get any information from, or make any changes to, an archive.

The revZipOpenArchive command should be followed by a matching revZipCloseArchive command, once the archive is no longer needed. Any changes made to an archive will not be written to disk until revZipCloseArchive is called.

Parameters

NameTypeDescription

archivePath

The absolute path to the zip archive to open.

mode

enum

Examples

revZipOpenArchive tArchive, tMode
revZipOpenArchive the cArchive of me, "read"

command: revZipAddUncompressedItemWithFile, revZipAddUncompressedItemWithData, revZipDeleteItem, revZipCloseArchive, revZipExtractItemToVariable, revZipAddItemWithData

constant: empty

function: result

Compatibility and Support

Introduced

LiveCode 2.7.3

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?